package com.study.seckill.service.impl;

import com.study.dto.CourseDTO;
import com.study.seckill.service.CourseService;
import com.study.util.ResponseResult;
import com.study.vo.CourseInfoVO;
import org.springframework.stereotype.Component;

import java.math.BigInteger;

/**
 * @ClassName: CourseServiceImpl
 * @Author: wYin
 * @Date: 2022/3/10 17:36
 */
@Component
public class CourseServiceImpl implements CourseService {
    @Override
    public ResponseResult<CourseInfoVO> getById(String id) {
        return new ResponseResult<>(500,"网络延迟",null);
    }

    @Override
    public ResponseResult<Void> updateCourseBuyCount(String id) {
        return new ResponseResult<>(500,"网络延迟");
    }


}
